<h1>Blog posts</h1>

<h2>Insert a new post</h2>

<!-- <form action="newpost/" method="post">

<input type="text" name="title" id="title" />
<input type="text" name="body" id="body" />
<input type="submit" value="guardar" />

</form>
-->

<?php
echo $this->Form->create('Post');
echo $this->Form->input('title',array('label'=>'T&iacute;tulo'));
echo $this->Form->input('body', array('rows' => '3','label'=>'Texto'));
echo $this->Form->end('Save Post');
?>


<p><a href="index/">volver</a></p> 